package com.yu.bean;


import com.yu.annotion.ScopeName;

// Bean定义对象
public class BeanDefinition {
    private String beanName;
    private Class<?> beanClass;
    private ScopeName scopeName;

    public Class<?> getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class<?> beanClass) {
        this.beanClass = beanClass;
    }

    public ScopeName getScopeName() {
        return scopeName;
    }

    public void setScopeName(ScopeName scopeName) {
        this.scopeName = scopeName;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    @Override
    public String toString() {
        return "BeanDefinition{" +
                "beanName='" + beanName + '\'' +
                ", beanClass=" + beanClass +
                ", scopeName=" + scopeName +
                '}';
    }
}
